package com.yykj.hospital.server.converter;

import com.yykj.hospital.client.dto.HospitalSettingDTO;
import com.yykj.hospital.server.model.entity.HospitalSetting;
import org.springframework.beans.BeanUtils;

/**
 * Created by chendg on 2021/9/10 0010.
 */
public class HospitalSettingDTOConverter {

	public static HospitalSettingDTO convert(HospitalSetting hospitalSetting) {
		HospitalSettingDTO ret = new HospitalSettingDTO();
		BeanUtils.copyProperties(hospitalSetting, ret);
		return ret;
	}

}
